

<template>
  <view class="Mall4j">
    <!-- 加载完成 -->
    <view v-if="isAll && current" class="load-all">{{ i18n.endTips }}</view>
    <!-- 列表为空 -->
    <view v-if="empty" class="empty">
      <view class="empty-icon">
        <image src="https://mall-1312577323.cos.ap-chengdu.myqcloud.com/mall/images/icon/empty.png" />
      </view>
      <view class="empty-text">{{ i18n.noData }}</view>
    </view>
  </view>
</template>

<script>
export default {
  props: {
    isAll: Boolean,
    current: Boolean,
    empty: Boolean
  },
  data () {
    return {

    }
  },
  computed: {
    i18n () {
      return this.$t('index')
    }
  }
}
</script>

<style>
@import url("./index.css");
</style>
